.slider {
  -webkit-appearance: none;
  appearance: none;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 2px;
  -webkit-box-shadow: none;
  box-shadow: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  font-size: 1rem;
  height: 2.25em;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  line-height: 1.5;
  padding-bottom: calc(0.5em - 1px);
  padding-left: calc(0.625em - 1px);
  padding-right: calc(0.625em - 1px);
  padding-top: calc(0.5em - 1px);
  position: relative;
  vertical-align: top;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  .slider-rail {
    position: relative;
    width: 100%;
    height: 2px;
    background-color: $grey-lightest;
  }
  .slider-block {
    position: absolute;
    width: 8px;
    height: 14px;
    background-color: $primary;
    margin-top: -6px;
    margin-left: -4px;
    border-radius: 1px;
    box-shadow: 1px 1px 1px $grey-lighter;
    cursor: pointer;
  }

  &.is-disabled {
    .slider-block {
      background-color: $grey-lighter;
      cursor: not-allowed;
    }
  }
}
